import { Separator } from 'inquirer'
export default {
  languageList: [
    {
      type: 'list',
      message: '请选择语言类型',
      name: 'languageInfo',
      default: 'js',
      choices: [
        {
          name: 'javascript',
          value: 'js'
        },
        {
          name: 'type-script',
          value: 'ts'
        },
      ]
    }
  ],
  temptList: [
    {
      type: 'list',
      message: '请选择即将初始化的模版类型?',
      name: 'templateInfo',
      // prefix: '***',
      // suffix: '***',
      choices: [
        {
          name: 'react',
          value: {
            location: 'https://github.com/littleTreeme/vue-web-template.git',
            temptName: 'react 模板',
            branchName: '',
            value: '1',
          }
        },
        {
          name: 'angular',
          value: {
            location: 'https://github.com/littleTreeme/vue-web-template.git',
            temptName: 'react 模板',
            branchName: '',
            value: '1',
          }
        },
        {
          name: 'vue',
          value: {
            location: 'https://github.com/littleTreeme/vue-web-template.git',
            temptName: 'vue 模板',
            branchName: '',
            gitName: '',
            value: '2'
          }
        },
        new Separator('---------------------------------------'),
        {
          name: 'react-native',
          value: {
            location: '',
            temptName: 'react native 模板',
            branchName: '',
            gitName: '',
            value: '3'
          }
        },
        {
          name: '微信小程序',
          value: {
            location: 'https://github.com/littleTreeme/vue-web-template.git',
            temptName: '微信小程序模板',
            branchName: '',
            gitName: '',
            value: '4'
          }
        },
        {
          name: 'uni-app',
          value: {
            location: 'https://github.com/littleTreeme/vue-web-template.git',
            branchName: '',
            temptName: 'uni-app模板',
            gitName: '',
            value: '5'
          }
        },
      ]
    }
  ]
};